<div class="header">
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container">
				<a data-target=".navbar-responsive-collapse" data-toggle="collapse" class="btn btn-navbar">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				
				<h1 class="logo"><a href="#"><img src="<?php echo Yii::app()->theme->baseUrl ?>/img/logo.png" alt="<?php echo CHtml::encode(Yii::app()->name); ?>" /></a></h1>
				
				<div class="nav-collapse collapse navbar-responsive-collapse">
					<ul class="nav pull-right">
						<!-- user -->
						<li class="dropdown">
							<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
								<span><i class="icon-user icon-white"></i>&nbsp;&nbsp;<?php echo Yii::app()->user->name ?></span>
								<b class="caret"></b>
							</a>
							<ul class="dropdown-menu">
								<!--
								<li><a href="<?php echo $this->createUrl('user/profile') ?>"><span><?php echo Yii::t('app', 'My Account') ?></span></a></li>
								<li class="divider"></li>
								-->
								<li><a href="<?php echo $this->createUrl('dashboard/logout') ?>"><span><?php echo Yii::t('app', 'Logout') ?></span></a></li>
							</ul>
						</li>
					</ul>
				</div>
				<!-- /.nav-collapse -->
			</div>
		</div>
		<!-- /navbar-inner -->
	</div>
</div><!-- header -->
